//
//  NetworkManager.h
//  yameishe3
//
//  Created by pro on 2017/3/8.
//  Copyright © 2017年 yameishe. All rights reserved.
//

#import <Foundation/Foundation.h>
typedef void (^FailureBlock)(NSString* error);
typedef void (^SuccessBlock)(NSDictionary* result);
typedef void (^ArraySuccessBlock)(NSArray* result);
@interface NetworkManager : NSObject
singleton_interface(NetworkManager)
-(void)getConditionWithDic:(NSMutableDictionary*)dic successBlock:(SuccessBlock)successBlock failureBlock:(FailureBlock)failureBlock;
-(void)getMediaSourceWithDic:(NSMutableDictionary*)dic successBlock:(ArraySuccessBlock)successBlock failureBlock:(FailureBlock)failureBlock;

@end
